<template>
    <div class="app">hello App hah dd</div>
    <div>
        <router-link to="/home"> 测试路由：home </router-link>
    </div>
    <div>
        <router-link to="/hello"> 测试路由：about </router-link>
    </div>
    <div>
        <router-view />
    </div>
</template>

<script setup>
import { RouterLink, RouterView } from "vue-router";
console.log(111);
// throw new Error("d");
const sum = (...args) => {
    return args.reduce((a, b) => a + b, 0);
};
</script>
<style lang="less" scoped>
.app {
    color: green;
}
</style>
